package org.celery.modules.other.wrapper;

import lombok.AllArgsConstructor;
import org.springblade.core.mp.support.BaseEntityWrapper;
import org.springblade.core.tool.utils.BeanUtil;
import org.celery.modules.other.entity.SevenElevenShop;
import org.celery.modules.other.vo.SevenElevenShopVO;

/**
 * 7-11商超表包装类,返回视图层所需的字段
 *
 * @author Celery
 * @since 2022-06-08
 */
public class SevenElevenShopWrapper extends BaseEntityWrapper<SevenElevenShop, SevenElevenShopVO>  {

    public static SevenElevenShopWrapper build() {
        return new SevenElevenShopWrapper();
    }

	@Override
	public SevenElevenShopVO entityVO(SevenElevenShop sevenElevenShop) {
		SevenElevenShopVO sevenElevenShopVO = BeanUtil.copy(sevenElevenShop, SevenElevenShopVO.class);

		return sevenElevenShopVO;
	}

}
